package com.dmgis.hndz.service;

import com.alibaba.fastjson.JSONObject;
import com.dmgis.hndz.common.exception.BusinessException;
import com.dmgis.hndz.pojo.*;
import com.dmgis.hndz.pojoVo.*;


import java.util.List;
import java.util.Map;

public interface DynamicWarningService {
    /***
     * 查询天气预报
     * @param code
     * @param name
     * @return
     */
    List<Qxba01a> queryThreeCityForecast(String code, String name) throws BusinessException;

    List<LocationAndCode> queryLocationAndCode();

    List<ThreeForecastWaterVo> queryThreeDayWeatherForecast2(JSONObject jsonObject);

    Map<String, Integer> queryWarningReleaseStatistics(JSONObject jsonObject);

    List<Ybba01D> queryYbba01D(String hourtype);

    List<LatestMonitoring> queryLatestMonitoring(JSONObject jsonObject);

    List<String> queryforecastMonitoring(JSONObject jsonObject);

    PrecipitationInfoByTimeAndNameVo queryPrecipitationInfoByTimeAndName(JSONObject jsonObject);

    List<TwoIntegetAndTimeVo> queryFallingWaterGrowingByTimeAndStationCode(JSONObject jsonObject);


    String queryTimeBysk_time(String ggcf01a020);

    List<Qxab02b> queryRadarChat(JSONObject jsonObject);

    List<Qxab03a> queryCloudChat(JSONObject jsonObject);

    List<Qxbb01a> queryServiceProduct(String wordType, String startTime, String endTime);

    DynamicWaringShortVo queryTodayProvinceShortWaring(JSONObject jsonObject);

    List<TwoStringVo> queryTodayProvinceMidShortWaring(JSONObject jsonObject);

    List<LatestMonitoring> queryLatestMonitoringInfo(JSONObject jsonObject);

    // 预警统计分析,根据时间
    Map<String, Integer> queryWaringStatisticsAnalysis(String startTime, String endTime);

    List<ThreeForecastWaterVo> queryThreeDayWeatherForecast(JSONObject jsonObject);
}
